package com.xyc.wemedia.order.service.impl;

import com.xyc.wemedia.order.mapper.LocationMapper;
import com.xyc.wemedia.order.service.LocationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class LocationServiceImpl implements LocationService {

    @Resource
    private LocationMapper locationMapper;
    @Override
    public List<String> queryProvince() {
        return locationMapper.queryProvince();
    }

    @Override
    public List<String> queryCityByProvince(String province) {
        return locationMapper.queryCityByProvince(province);
    }

    @Override
    public List<String> queryAreaByCity(String city) {
        return locationMapper.queryAreaByCity(city);
    }

    /*@Override
    public void addOrder(WxbOrder wxbOrder) throws Exception {
        //locationMapper.addOrder(wxbOrder);
    }*/
}
